![]() |
MPExit |
||||
Header: | Multiprocessing.h | Carbon status: | Supported | |
Allows a task to terminate itself
void MPExit ( OSStatus status );
An application-defined value that indicates termination status. This value is sent to the termination message queue in place of the task’s result code.
When called from within a preemptive task, the task terminates, and the value indicated by the parameter status is sent to the termination message queue you specified in MPCreateTask. Note that you cannot call MPExit from outside a preemptive task.
Introduced with Multiprocessing Services 1.0.
Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
© 2000 Apple Computer, Inc. (Last Updated 7/13/2000)